/*
 * Powered By xTOOLs
 * Dev by tao.li8@pactera.com
 * Copyright ©2009-2018 pactera.com All rights reserved.
 * Generated at 2020-7-20 13:57:59
 */

package com.pactera.jep.service.yapin.eval.sample.model;

import com.pactera.jep.web.entity.Result;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.Digits;

import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.*;
import java.math.BigDecimal;

import com.pactera.jep.commons.DateUtils;
import com.pactera.jep.entity.PO;

/**
 * 估值流程押品与样本选择记录表实体类
 * @Author YourName
 * @Date 2020-7-20 13:57:59
 */
@ApiModel(value = "ValColSampleImpRecord" , description = "估值流程押品与样本选择记录表")
@Entity
@Table(name = "ap_val_col_sample_record")
public class ValColSampleImpRecord implements PO {

    @ApiModelProperty("主键ID")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Length(max = 32, message = "主键ID长度最多32位")
    @Column(name = "COL_SAMPLE_RECORD_ID")
    private String colSampleRecordId;

    @ApiModelProperty("押品编号")
    @Length(max = 32, message = "押品编号长度最多32位")
    @Column(name = "CLT_NO")
    private String cltNo;

    @ApiModelProperty("押品ID")
    @Length(max = 40, message = "押品ID长度最多40位")
    @Column(name = "CLT_ID")
    private String cltId;

    @ApiModelProperty("样本id")
    @Length(max = 32, message = "样本id长度最多32位")
    @Column(name = "SAMPLE_ID")
    private String sampleId;

    @ApiModelProperty("样本编号")
    @Length(max = 40, message = "样本编号长度最多40位")
    @Column(name = "SAMPLE_NO")
    private String sampleNo;

    @ApiModelProperty("系统创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "SYS_CREATE_TIME")
    private Date sysCreateTime;

    @ApiModelProperty("系统更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Column(name = "SYS_UPDATE_TIME")
    private Date sysUpdateTime;

    @ApiModelProperty("价格涨跌")
    @Digits(integer = 8, fraction = 8, message = "价格涨跌不能超过16位")
    @Column(name = "PRICE_CHANGE")
    private BigDecimal priceChange;

    @ApiModelProperty("调整幅度")
    @Digits(integer = 8, fraction = 8, message = "调整幅度不能超过16位")
    @Column(name = "ADJUSTMENT_RANGE")
    private BigDecimal adjustmentRange;

    public String getColSampleRecordId(){
        return colSampleRecordId;
    }

    public void setColSampleRecordId(String colSampleRecordId){
        this.colSampleRecordId = colSampleRecordId;
    }
    public String getCltNo(){
        return cltNo;
    }

    public void setCltNo(String cltNo){
        this.cltNo = cltNo;
    }
    public String getCltId(){
        return cltId;
    }

    public void setCltId(String cltId){
        this.cltId = cltId;
    }
    public String getSampleId(){
        return sampleId;
    }

    public void setSampleId(String sampleId){
        this.sampleId = sampleId;
    }
    public String getSampleNo(){
        return sampleNo;
    }

    public void setSampleNo(String sampleNo){
        this.sampleNo = sampleNo;
    }
    public Date getSysCreateTime(){
        return sysCreateTime;
    }

    public void setSysCreateTime(Date sysCreateTime){
        this.sysCreateTime = sysCreateTime;
    }
    public Date getSysUpdateTime(){
        return sysUpdateTime;
    }

    public void setSysUpdateTime(Date sysUpdateTime){
        this.sysUpdateTime = sysUpdateTime;
    }
    public BigDecimal getPriceChange(){
        return priceChange;
    }

    public void setPriceChange(BigDecimal priceChange){
        this.priceChange = priceChange;
    }
    public BigDecimal getAdjustmentRange(){
        return adjustmentRange;
    }

    public void setAdjustmentRange(BigDecimal adjustmentRange){
        this.adjustmentRange = adjustmentRange;
    }
}

